package com.yj.springbootfastdfs.aliyun;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:common.properties")
@ConfigurationProperties(prefix = "aliyun")
@Data
public class AliYunConfig {

    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private String objectName; //文件夹名称
    private String host; //外网访问的地址

}
